var express = require('express');
var http = require('http');
// var fs = require("fs");
var app = express();
var httpServer = http.createServer(app);

app.use("/", express.static('public'));
app.use("/node_modules", express.static('node_modules'));
app.use("/bower_components", express.static('bower_components'));

var server = httpServer.listen(8081, function () {
    var host = server.address().address;
    var port = server.address().port;

    console.log('taojiazheng listening at http://%s:%s', host, port);
});